<div class="m-container" ng-controller="editPlanProduct">
    <div class="clienPlan h100" ng-show="path1=='clientDetail' && path2 == 'editPlan' && !path3">
        <div class="content" scroll-down2>
            <div><img ng-src="{{plan.avatar}}"></div>
            <div class="plan" contenteditable="true" id="description">{{plan.description}}</div>
            <div class="recHead dfr jssb aic" ng-click="add()">
                <div class="f16 c5d6">添加推荐产品</div>
                <a class="icon"></a>
            </div>
            <ul class="productRecUl">
                <li ng-repeat="item in producRectList" class="productLi del" ui-sref="productDetail({id:item.id})" swiper-to="scrollLeft">
                    <div class="swiper-block dfr aife ">
                        <product-item2></product-item2>
                        <button class="cbred2 Btn" ng-click="delete(item.id)" pointer-disable>删除</button>
                    </div>

                </li>
                <div class="nodata" ng-show="producRectList && producRectList.length==0">暂无推荐产品</div>
            </ul>
            <div ng-show="producRectList && producRectList.length>0">
                <ul class="boxShadow">
                    <li class="priceLi  dfr jssb aic">
                        <div class="f16 c5d6">总计</div>
                        <span class="f16"><span class="f12">￥</span>{{totalPrice}}</span>
                    </li>
                    <li class="priceLi  dfr jssb aic">
                        <div class="f16 c5d6">优惠金额</div>
                        <input type="text" placeholder="请输入" ng-model="discountPrice" class="discountPrice">
                    </li>
                </ul>
                <div class="recHead boxShadow dfr jssb aic">
                    <div class="f16 c5d6">折后价</div>
                    <span class="f16"><span class="f12">￥</span>{{totalPrice - discountPrice}}</span>
                </div>
            </div>
        </div>
        <button class="btnN" ng-click="submit()">保存</button>
    </div>

    <div ng-include="'components/product/productSelect.html'" ng-show="path1=='clientDetail'  && path2 == 'editPlan' && path3 == 'selectProduct'"></div>
</div>